set sxDir=E:\Udas\sp1_3_4\bin
set reutersDir=E:\Udas\reuters21578

"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-000.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-000.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-001.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-001.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-002.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-002.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-003.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-003.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-004.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-004.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-005.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-005.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-006.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-006.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-007.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-007.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-008.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-008.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-009.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-009.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-010.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-010.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-011.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-011.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-012.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-012.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-013.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-013.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-014.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-014.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-015.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-015.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-016.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-016.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-017.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-017.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-018.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-018.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-019.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-019.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-020.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-020.xml"
"%sxDir%\sx.exe" -wno-all -xno-nl-in-tag -xlower -xempty "%reutersDir%\reut2-021.sgm" "%reutersDir%\lewis.dtd" > "%reutersDir%\reut2-021.xml"